﻿using EventBus.Abstractions;
using System;
using System.Collections.Generic;
using System.Text;

namespace EventBus.Simple
{
    public class EventQueue
    {
        public  event EventHandler<EventProcessedEventArgs> EventPushed;

        public void Push(IEvent @event)
        {
            EventPushed?.Invoke(this, new EventProcessedEventArgs(@event));
        }
    }
}
